import PageTools from '@/components/pageTools'
import UploadImg from '@/components/UploadImg'
import ImgPreview from '@/components/imgPreview'
import LangCom from '@/components/Lang'
import ScreenFull from '@/components/ScreenFull'

// 如果要给vue.use使用，那么我们这个对象里面，必须有个install方法
// 方法里面的参数，就是我们整个Vue实例对象
export default {
  install: function(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadImg', UploadImg)
    Vue.component('ImgPreview', ImgPreview)
    Vue.component('LangCom', LangCom)
    Vue.component('ScreenFull', ScreenFull)
  }
}
